//
//  ItemInfo.h
//  Kjs-iOS
//
//  Created by 江伟 on 16/7/13.
//  Copyright © 2016年 jmhz. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Jastor.h"

typedef NS_ENUM(NSInteger,gdBenefitModeType) {
    Once = 0,
    Month
};
typedef NS_ENUM(NSInteger,itemStatusType) {
    Raising = 7,
    Prepare,
    Success,
    Fail
};
@interface ItemInfo : Jastor

@property (nonatomic, strong) NSString *itemId;
@property (nonatomic, strong) NSString *itemName;
@property (nonatomic, strong) NSString *partyId;
/*目标金额*/
@property (nonatomic, assign) double targetMoney;
/*已募集金额*/
@property (nonatomic, assign) double raiseMoney;
/*年化收益率*/
@property (nonatomic, assign) double gdAnnualizedBenefitRate;
/*募集天数*/
@property (nonatomic, assign) int raiseDays;
/*项目状态*/
@property (nonatomic, assign) int itemStatus;
/*项目期限*/
@property (nonatomic, assign) int interestDays;
/*项目还款阶段*/
@property (nonatomic, strong) NSString *gdBenefitReturnStep;
/*固定收益项目类型*/
@property (nonatomic, assign) int gdItemType;
/*项目开始时间*/
@property (nonatomic, assign) long itemStartDate;
/*项目结束*/
@property (nonatomic, assign) long itemEndDate;
/*收益方式*/
@property (nonatomic, assign) int gdBenefitMode;
/*融资需求*/
@property (nonatomic, strong) NSString *gdFinancingRequired;
/*还款来源*/
@property (nonatomic, strong) NSString *gdSrcOfRepayment;
/*征信情况*/
@property (nonatomic, strong) NSString *gdCreditSituation;
/*计息开始时间*/
@property (nonatomic, assign) long interestStartDate;
/*状态变更时间*/
@property (nonatomic, assign) long itemStatusChangeTime;
/*发起用户的类型*/
@property (nonatomic, strong) NSString *type;

@property (nonatomic, strong) NSString *contactName;
@property (nonatomic, strong) NSString *contactTel;
@property (nonatomic, strong) NSString *contactEmail;
@property (nonatomic, strong) NSString *companyName;
@property (nonatomic, strong) NSString *teamIntroduction;
@property (nonatomic, strong) NSString *localProvince;
@property (nonatomic, strong) NSString *localCity;
@property (nonatomic, strong) NSString *localCounty;

/*用户投资金额*/
@property (nonatomic, assign) double totalInvestment;
/*筹款失败是否已退回*/
@property (nonatomic, strong) NSString *investDelFlag;

@end
